package org.example.dao.impl;

import org.example.dao.BrandDao;
import org.springframework.stereotype.Repository;

@Repository
public class BrandDaoImpl implements BrandDao {
    @Override
    public void update() {
        System.out.println("BrandDaoImpl-update..");
    }

    @Override
    public int select() {
        System.out.println("BrandDaoImpl-select..");
//        int i = 1 / 0;
        return 100;
    }

    @Override
    public void test() {
        System.out.println("BrandDaoImpl-test..");
        System.out.println(System.currentTimeMillis());
    }
}
